package com.bootdo.qr.dao;

import com.bootdo.qr.domain.QrCodeDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 二维码管理
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-02-02 17:40:41
 */
@Mapper
public interface QrCodeDao {

	QrCodeDO get(Long id);
	
	List<QrCodeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(QrCodeDO qrCode);
	
	int update(QrCodeDO qrCode);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
